package org.example.mapper;

import org.example.entity.Grade;

import java.util.List;

/**
* @author asus
* @description 针对表【grade】的数据库操作Mapper
* @createDate 2024-06-26 16:56:03
* @Entity org.example.entity.Grade
*/
public interface GradeMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Grade record);

    int insertSelective(Grade record);

    Grade selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Grade record);

    int updateByPrimaryKey(Grade record);
    List<Grade> getAllGrades();
    int deleteByGids(Integer[] gids);
    List<Grade> getGradesAndStudents();
}
